package com.lht.cozyCloud.bee.service.impl;

import com.lht.cozyCloud.bee.domain.MessageRecord;
import com.lht.cozyCloud.bee.mapper.MessageRecordMapper;
import com.lht.cozyCloud.bee.service.AsyncMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lht
 * @version 1.0
 * @description: TODO
 * @date 2025/1/7 9:50
 */
@Service
public class AsyncMessageServiceImpl implements AsyncMessageService {

    @Autowired
    private MessageRecordMapper messageRecordMapper;

    @Override
    public void insertMessageRecord(MessageRecord record) {
        this.messageRecordMapper.insertRecord(record);
    }
}
